package org.example.aitest.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.example.aitest.dto.TableDto;
import org.example.aitest.entity.CostInDetail;

import java.util.List;
import java.util.Set;

/**
 * (CostInDetail)表数据库访问层
 *
 * @author makejava
 * @since 2025-04-25 15:46:22
 */
@Mapper
public interface CostInDetailDao extends BaseMapper<CostInDetail> {

    @Select("SELECT COLUMN_NAME,COLUMN_COMMENT" +
            "  FROM INFORMATION_SCHEMA.COLUMNS" +
            " WHERE TABLE_SCHEMA = DATABASE()" +
            " AND TABLE_NAME = 'cost-in-detail'")
    public Set<TableDto> getCcm();
}

